console.log(0.2 + 0.1);//0.30000000000000004
console.log(0.3 - 0.1);//0.19999999999999998
console.log(1.0-0.9);
console.log(0.9-0.8);
console.log(0.2 * 0.1);//0.020000000000000004
console.log(0.3 / 0.1);//2.9999999999999996
console.log(9408.62*100);//940862.0000000001
console.log(8.62*100);//861.9999999999999
console.log(1.3053/100);//0.013052999999999999
console.log(1.3053/10000);//0.00013052999999999999
console.log(2.05*100);//204.99999999999997

/**
 *寻找小数*100异常的数
 */
var arr = [1,5,0,6,2];
for (var i = 1; i < 10; i++) {
	console.log(str);
	//join() 方法用于把数组中的所有元素放入一个字符串
	arr[2]=i;
	var str = arr.join("");
	str = str.slice(0, 3) + "." + str.slice(3);//控制小数位
	console.log("--------");
	console.log(str);
	console.log(str*100);
}